<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>vue的基本使用</title>
</head>
<body>
    <div id="app">
{{num}}
<hr>
{{num>100?10:20}}
    </div>
    <script src="js/vue2.js"></script>
    <script >
        new Vue({
            el:'#app',
            data:{
                num:101
            }
        });
    </script>
</body>
</html>